﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MMessaging.MessagingEx.Common
{
	/// <summary>
	/// Schnittstelle eines Channels, der bidirektional Messages übertragen kann.
	/// </summary>
	/// <typeparam name="MESSAGETYPE"></typeparam>
	public interface IMChannelDuplex<MESSAGETYPE>
		where MESSAGETYPE : class
	{
		/// <summary>
		/// Seite A des Duplex-Channels
		/// </summary>
		IMChannelEndDuplex<MESSAGETYPE> ChannelEndLeft { get; }
		/// <summary>
		/// Seite B des Duplex-Channels
		/// </summary>
		IMChannelEndDuplex<MESSAGETYPE> ChannelEndRight { get; }
	}
}
